import request from '@/utils/request'

// 轮播图_列表
export function getBannerLists(query) {
    return request({
        url: '/joining/busin.Banners/getLists',
        method: 'post',
        params: query
    })
}
// 轮播图_添加/修改
export function setBannerInfo(query) {
    return request({
        url: '/joining/busin.Banners/setInfo',
        method: 'post',
        params: query
    })
}
// 轮播图_详情
export function getBannerInfo(query) {
    return request({
        url: '/joining/busin.Banners/getInfo',
        method: 'post',
        params: query
    })
}
// 轮播图_启用/禁用
export function setBannerStatus(query) {
    return request({
        url: '/joining/busin.Banners/setStatus',
        method: 'post',
        params: query
    })
}
// 轮播图_删除
export function delBanner(query) {
    return request({
        url: '/joining/busin.Banners/delInfo',
        method: 'post',
        params: query
    })
}